

            
// This code is a generated code by a tool
// designed and coded by Shohdi Mohamed Elsheemy ( shohdi@gmail.com )

            
using System;
using System.Collections.Generic;
using System.Web;
namespace DatabaseComponent
{
[Serializable]
public partial class CoursesScoes
{
System.Int64 _ID =-1;
public System.Int64 ID
{
get { return _ID;}
set { _ID = value;}
}
System.String _ScoName ="";
public System.String ScoName
{
get { return _ScoName;}
set { _ScoName = value;}
}
System.String _ScoData ="";
public System.String ScoData
{
get { return _ScoData;}
set { _ScoData = value;}
}
System.Boolean _IsCompleted =false;
public System.Boolean IsCompleted
{
get { return _IsCompleted;}
set { _IsCompleted = value;}
}
System.Int64 _RegisteredCoursesID =-1;
public System.Int64 RegisteredCoursesID
{
get { return _RegisteredCoursesID;}
set { _RegisteredCoursesID = value;}
}
public CoursesScoes()
{
}
public CoursesScoes(System.String __ScoName,System.String __ScoData,System.Boolean __IsCompleted,System.Int64 __RegisteredCoursesID)
{
_ScoName = __ScoName;
_ScoData = __ScoData;
_IsCompleted = __IsCompleted;
_RegisteredCoursesID = __RegisteredCoursesID;
}
public CoursesScoes(System.Int64 __ID,System.String __ScoName,System.String __ScoData,System.Boolean __IsCompleted,System.Int64 __RegisteredCoursesID)
{
_ID = __ID;
_ScoName = __ScoName;
_ScoData = __ScoData;
_IsCompleted = __IsCompleted;
_RegisteredCoursesID = __RegisteredCoursesID;
}


             public override bool Equals(object obj)
         {
             if (obj is CoursesScoes)
             {
                 CoursesScoes newObj = (CoursesScoes)obj;

                 if (newObj.ID == this.ID )
                 {
                     return true;
                 }
                 else
                 {
                     return false;
                 }
             }

             else
             {
                 return false;
             }

            
         }            











             }
}
